package com.itheima.demo4_继承的访问规则.p02构造方法;

public class Test {
    public static void main(String[] args) {
        Zi zi = new Zi();
    }
}


class Fu{
    public Fu() {
        System.out.println("Fu 无参构造");
    }
    public Fu(int i) {
        System.out.println("Fu 满参构造");
    }
}

class Zi extends Fu{
    public Zi(){
        super();
        System.out.println("Zi 无参构造");
    }
}